﻿using Autodesk.Revit.DB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreDB.Models
{
    public class TempPoint
    {
        public XYZ Coord { get; set; }
        public int UsedTimes { get; set; } = 0;
        /// <summary>
        /// 标记，用于存储Id等信息
        /// </summary>
        public int Tag { get; set; }
        /// <summary>
        /// 储存点乘值
        /// </summary>
        public double Value { get; set; }
        /// <summary>
        /// 是否被使用过
        /// </summary>
        public bool IsUsed { get; set; }
        public TempPoint(XYZ coord)
        {
            this.Coord = coord;
            this.UsedTimes++;
        }
    }
}
